import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { OverlayModule } from '@angular/cdk/overlay';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { TranslateModule } from '@ngx-translate/core';

import { PopupComponent } from './popup.component';
import { PopupService } from './popup.service';

@NgModule({
  imports: [
    OverlayModule,
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    TranslateModule
  ],
  providers: [
    PopupService
  ],
  declarations: [
    PopupComponent
  ],
  entryComponents: [
    PopupComponent
  ],
  exports: [
    PopupComponent
  ],
})
export class PopupModule { }
